package com.nenude.corejava.ch7.newhomework2;

public class TestStudent {

	public static void main(String[] args) {
		Student[] students = new Student[5];
		students[0] = new EnglishStudent(1001, "jack", "男", 3, 88, 90, 100);
		students[1] = new ComputerStudent(1002, "bill", "男", 60, 68, 89, 70,
				100);
		students[2] = new LiteratureStudent(1003, "Mart", "女", 90, 78, 79, 40,
				89);
		students[3] = new EnglishStudent(1004, "Json", "女", 40, 58, 69, 65);
		students[4] = new ComputerStudent(1005, "LuXi", "男", 80, 88, 59, 89, 76);

		for (Student e : students) {
			e.showInfo();
		}

	}

}
